﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mfRefund.aspx.cs" Inherits="msBsc.WebUi.mMall.Buyer.mfRefund" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>手机地接客商城</title>
    <%=getMeta()%>
    <link rel="stylesheet" type="text/css" href="/themes/mStyle1/mGlobal.css" charset="gbk" />
    <link rel="stylesheet" type="text/css" href="/themes/mStyle1/css/home/base.css" charset="gbk" />
    <link href="/jqPlugin/laydate/skins/default/laydate.css" rel="stylesheet" charset="gbk" />
    <link href="/themes/mStyle1/css/public/mOrder.css" rel="stylesheet" />
    <%=getBodyBeforeJs()%>

    <script type="text/javascript" src="/jqPlugin/js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="/jqPlugin/js/jBase.js"></script>
    <script type="text/javascript" src="/jqPlugin/js/jmPage.js"></script>
    <script type="text/javascript" src="/themes/Style1/jsQt.js"></script>
    <script type="text/javascript" src="/jqPlugin/js/laytpl.js"></script>
    <script type="text/javascript" src="/themes/wStyle1/js/comm/VerifyJs.js"></script>
    <script type="themes/wStyle1/js/comm/DateInfo.js"></script>
    <script type="text/javascript">
        $(window).load(function () {
        });
        //        $(window).bind('resize', function () { _self._ResizeHandler(_self); })
        //        .bind('scroll', function () { _self._ResizeHandler(_self); });
    </script>
    <!--head fix rgn-->
    <style type="text/css">
        .reason {
            display: table;
            width: 100%;
            margin-top: 15px;
        }

            .reason .reason_cell {
                display: table-cell;
                width: 50%;
                text-align: center;
            }

        .reason_txt {
            width: 100%;
            height: 100px;
            border: #808080 1px solid;
            border-radius: 5px;
        }
    </style>
    <base target="_self" />
</head>
<body>
    <div class="viewport">
        <%=msBsc.WebUi.Code.QtHtmlGet.GetWapHeaderMenuHtml(true) %>
        <form action='#' method="post" id="J_EmailForm">
            <input type="hidden" id="orderId" />
            <div id="c_order" class="c_order">
                <div class="progress_bar">
                    <div class="pb_cell">
                        <div class="pb_sel">
                            <div class="pbl ongoingl">
                                <span class="order_number">1</span>
                                <span>已申请退款</span>
                            </div>
                            <div class="pbr ongoing"></div>
                        </div>
                    </div>
                    <div class="pb_cell">
                        <div class="pb_sel">
                            <div class="pbl undonel">
                                <span class="order_number">2</span>
                                <span>退款处理中</span>
                            </div>
                            <div class="pbr undone">
                            </div>
                        </div>
                    </div>
                    <div class="pb_cell last_pb_cell">
                        <div class="pb_sel">
                            <div class="pbl undonel">
                                <span class="order_number">3</span>
                                <span>已退款</span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="reason">
                    <div class="reason_cell" style="">
                        <input type="radio" name="reason" class="reason_radio" checked="checked" value="2" />游客原因
                    </div>
                    <div class="reason_cell">
                        <input type="radio" name="reason" class="reason_radio" value="1" />地接客原因
                    </div>
                </div>
                <div style="width: 100%; margin-top: 15px;">
                    <textarea class="reason_txt" id="reason_txt" placeholder="请输入退款原因"></textarea>
                </div>
                <div>
                    <div style="margin-top: 10px;">
                        <h2 style="line-height: 24px;">一、申请条件</h2>
                        <div style="text-indent: 22pt; line-height: 20px; font-size: 14px;">1、出发日15天前，买家可申请无理由退款。买家提出退款申请后，7个工作日内，地接客平台将买家支付的定金全额返还到买家提现账户。
</div>
                    </div>
                    <div style="margin-top: 10px;">
                        <div style="text-indent: 22pt; line-height: 20px; font-size: 14px;">2、在订单生效后，出发日15天内,由于卖家原因，不能提供订单上指定的旅游服务时，卖家违约。由买家提出申请，卖家同意后，地接客平台将扣取卖家200元保证金，并将买家已支付的定金全额返还到买家提现账户。</div>
                    </div>
                     <div style="margin-top: 10px;">
                        <div style="text-indent: 22pt; line-height: 20px; font-size: 14px;">3、在订单生效后，出发日15天内，由于买家原因，不能接受订单上指定的旅游服务时，买家违约。此种情况下，地接客平台按正常交易情况处理，平台将会在服务结束时间后7个工作日内，扣取买家定金的5%手续费后，将剩余定金支付到卖家提现账户。</div>
                    </div>
                </div>

            </div>

            <div id="order_bottom" class="order_bottom">
                <div class="lb_order order_ref">
                    <a class="btn_submit" onclick="doto()">提交申请</a>
                </div>
                <div class="rb_order order_ref_r">
                    <a class="btn_submit btn_change" id="submitOrder" onclick="retOrderInfo()">返回订单</a>
                </div>

            </div>
        </form>
        <script type="text/javascript" src="/jqPlugin/laydate/laydate.js" charset="gbk"></script>
        <script src="/themes/wStyle1/js/comm/DateInfo.js"></script>
        <script type="text/javascript">
            (function () {
                $("#h_title").text("申请退款");
                $("#orderId").val(GetQueryStr("orderId"));
                $.getMessageCount();
                //doto();
            })();

            function retOrderInfo() {
                window.location.href = "/mb_OrderInfo.htm?orderId=" + $("#orderId").val();
            }

            function doto() {
                var opart = new jsonRow();
                var reason_radio = $(".reason_radio[name='reason']:checked ").val();
                if (IsNull(reason_radio)) {
                    alert("请选择退款责任");
                    return;
                }
                var reason_txt = $("#reason_txt").val();
                if (IsNull(reason_txt)) {
                    alert("退款原因不能为空");
                    return;
                }
                opart.AddCell("orderId", $("#orderId").val());
                opart.AddCell("reason_radio", reason_radio);
                opart.AddCell("reason_txt", reason_txt);
                opart.AddCell("ACTION", "setReffund");
                ajaxComm(opart);
            }
        </script>
    </div>
</body>
<%=getBodyAfterJs() %>
</html>
